
<!doctype html>
<html class="no-js" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>云印社 | 在线打印</title>
    <link rel="stylesheet" href="/css/foundation.css" />
    <link rel="stylesheet" type="text/css" href="/css/self.css">
    <link rel="stylesheet" type="text/css" href="/css/user.css">
    <link rel="stylesheet" type="text/css" href="/css/foundation-icons.css">
    <script src="/js/modernizr.js"></script>
  </head>
  <body>
<nav class="top-bar" data-topbar role="navigation">
  <ul class="title-area">
    <li class="name">
      <h1><a href="#">云印社</a></h1>
    </li>
    <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
  </ul>
  <section class="top-bar-section">
    <ul class="right">
            <li class="active"><a href="print">立即打印</a></li>
      <li class="has-dropdown">
        <a href="#">个人中心</a>
        <ul class="dropdown">
          <li><a href="/printshop/order">我的打印</a></li>
          <li class="active"><a href="/printshop/billing">我的积分</a></li>
          <li><a href="/printshop/info">个人资料</a></li>
          <li><a href="/printshop/quit">退出登录</a></li>
        </ul>
      </li>
          </ul>
    <ul class="left">
      <li class="divider"></li>
      <li><a href="index">主页</a></li>
      <li class="divider"></li>
      <li><a href="wen">文库</a></li>
      <li class="divider"></li>
      
    </ul>
  </section>
</nav>

<div class="collapse user">
<div class="small-2 large-1 columns" style="padding-left:0;">
<%include("/printshop_left.html"){} %>
</div>

<div class="small-10 large-11 columns">
  <div class="main-box">
    <div class="row">


    <table class="otb">
    	<thead>
        <tr>
        <td>文件名称</td>
        <td>提交时间</td>
        <td>打印份数</td>
        <td>总张数</td>
        <td>纸张类型</td>
        <td>备注</td>
        <td>金币数量</td>
        <td>打印备注</td>
        <td>操作</td>
        </tr>
        </thead>
        <br>
        <tbody>
        <%for(task in tasks){%>
            <tr>
                <td>
                    <a href="/printshop/download/${task.file_id}">${task.name}</a>
                </td>
                <td>
                    ${task.submit_time}
                </td>
                <td>
                    ${task.papernum}
                </td>
                <td>
                    ${task.message}
                </td>
                <td>
                    ${task.papernum}
                </td>
                <td>
                    ${task.papertype}
                </td>
                <td>
                    ${task.gold}
                </td>
                <td>
                    ${task.beizhu}
                </td>
                <td>
                    <a href="/printshop/finish/${task.task_id}">完成</a>
                </td>
            </tr>
        <%}%>
        </tbody>
        </table>
        <%include("/_page_nav.html"){} %>


    </div>
  </div>
</div>

<div class="clearfix"></div>
  <%include("/footer.html"){} %>
  <script src="/js/jquery.js"></script>
  <script src="/js/foundation.min.js"></script>
  <script>
    $(document).foundation();
  </script>
  </body>
</html>
